package wator.view.swing.jogl;

import wator.model.Integer3DVector;
import wator.model.IntegerVector;

/**
 * This is the null object implementation (GoF) for JoglVectorFactory. This is
 * used if our universe is three dimensional.
 */
public class JoglVectorFactory3D implements JoglVectorFactory {

	/**
	 * Simply cast the given vector to <code>Integer3DVector</code>.
	 * {@inheritDoc}
	 */
	@Override
	public Integer3DVector generateVector(IntegerVector v) {
		return (Integer3DVector) v;
	}
}
